<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <link rel="icon" type="image/svg+xml" href="favicon.svg"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!--    <title>一鸣货架</title>-->
    <title>加创货架</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="./src/main.js"></script>
<script>
    //    货架编码
    const codes = [
        [
            'HK',
            'H-K-4C',
            'H-K-5C1',
            'H-K-6C2',
            'H-K-7C3',
            'HZ',
            'HZB',
            'YX-CB-1',
            'YX-CB-2',
            'YX-CB-3',
            'YX-CB-22',
            'YX-CB-23',
            'HKCW-Z',
            'HKCW-Y',
            'ZDCW-Z',
            'ZDCW-Y',
            'YX-CB-16',
            'YX-CB-17',
            'H-K-11C',
            'H-K-12C',
            'H-K-2-黄',
            'H-K-5-黄',
            'H1-K-2-黄',
            'H1-K-4-黄',
            'H-K-4',
            'H5-K-4',
            'H1-K-4',
            'H4-K-4',
            'H2-K-4',
            'H3-K-4',
            'YX-CB-4',
            'YX-CB-29',
            'YX-CB-5',
            'YX-CB-6',
            'YX-CB-30',
            'H-K-2',
            'H5-K-2',
            'H1-K-2',
            'H4-K-2',
            'H2-K-2',
            'H3-K-2',
            'H5-Z-3',
            'H1-Z-3',
            'H4-Z-3',
            'H2-Z-3',
            'H3-Z-3',
            'YX-CB-20',
            'YX-CB-21',
            'HKT',
            'HKT-1',
            'HZT',
            'H-K-3',
            'H5-K-3',
            'H1-K-3',
            'H4-K-3',
            'H2-K-3',
            'H3-K-3',
            'H-K-3D',
            'H5-Z-1',
            'H1-Z-1',
            'H4-Z-1',
            'H2-Z-1',
            'H3-Z-1',
            'H-K-3C',
            'H-K-4C1',
            'H1-K-3C',
            'H1-K-4C2',
            'H2-K-3C',
            'H2-K-4C3',
            'H2-K-5C4',
            'H2-K-6C5',
            'H2-K-7C6',
            'H2-K-8C7',
            'H-K-5C',
            'H-K-6C',
            'H-K-7C',
            'H-K-8C',
            'H-K-9C',
            'H-K-1',
            'H5-K-1',
            'H1-K-1',
            'H4-K-1',
            'H2-K-1',
            'H3-K-1',
            'H-K2-1',
            'H-K2-4',
            'H-K2-2',
            'H-K2-5',
            'H-K2-3',
            'H-K-10C',
            'H5-Z-4',
            'H1-Z-4',
            'H4-Z-4',
            'H2-Z-4',
            'H3-Z-4',
            'YX-CB-18',
            'YX-CB-7',
            'YX-CB-8',
            'H-KF-1',
            'H5-KF-5',
            'H1-KF-2',
            'H4-KF-4',
            'H2-KF-3',
            'YX-CB-9',
            'YX-CB-33',
            'YX-CB-24',
            'YX-CB-10',
            'YX-CB-25',
            'YX-CB-26',
            'YX-CB-27',
            'YX-CB-28',
            'YX-CB-11',
            'HG',
            'HGD',
            'YX-CB-12',
            'YX-CB-13',
            'NZJ-2',
            'NZJ-4',
            'YX-CB-15',
            'NZJ-3',
            'NZJ-3C',
            'NZJ-1',
            'NZJ-BJT1',
            'NZJ-BJT2',
            'WZJ-2',
            'WZJ-4',
            'YX-CB-14',
            'WZJ-3',
            'WZJ-3C',
            'WZJ-1',
            'JZP-1',
            'WZJ-BJT1',
            'WZJ-BJT2',
            'H-K-5',
            'H5-K-5',
            'H1-K-5',
            'H4-K-5',
            'H2-K-5',
            'NNDH-DP44',
            'H-K-6',
            'H5-K-6',
            'H1-K-6',
            'H4-K-6',
            'H2-K-6',
            'DP-8',
            'DP-5',
            'DP-3',
            'DP-4',
            'DP-1',
            'DP-6',
            'SYD',
            'LJT',
            'DZ',
            'NNDH',
            'ZYTC',
            'XXTC',
            'SCTC',
            'PBTC',
            'CKDB',
            'UXKK',
            'SYD-PT',
            'LJT-GZ',
            'LJT-W',
            'LJT-N',
            'HSPQ',
            'BSPQ',
            'CBCT',
            'NNDH-DP',
            'NNDH-DP1',
            'NNDH-DP2',
            'NNDH-DP3',
            'NNDH-DP4',
            'NNDH-DP5',
            'NNDH-DP47',
            'NNDH-DP6',
            'NNDH-DP7',
            'NNDH-DP8',
            'NNDH-DP9',
            'NNDH-DP10',
            'NNDH-DP50',
            'NNDH-DP51',
            'NNDH-DP52',
            'NNDH-DP53',
            'NNDH-DP54',
            'NNDH-DP55',
            'NNDH-DP56',
            'NNDH-DP11',
            'NNDH-DP12',
            'NNDH-DP13',
            'NNDH-DP14',
            'NNDH-DP15',
            'NNDH-DP48',
            'NNDH-DP16',
            'NNDH-DP17',
            'NNDH-DP18',
            'NNDH-DP21',
            'NNDH-DP22',
            'NNDH-DP23',
            'NNDH-DP24',
            'NNDH-DP25',
            'NNDH-DP26',
            'NNDH-DP30',
            'NNDH-DP31',
            'NNDH-DP32',
            'NNDH-DP33',
            'NNDH-DP27',
            'NNDH-DP28',
            'NNDH-DP29',
            'NNDH-DP39',
            'NNDH-DP40',
            'NNDH-DP41',
            'NNDH-DP42',
            'NNDH-DP43',
            'NNDH-DP45',
            'NNDH-DP46',
            'NNDH-DP49',
            'NNDH-DP57',
            'NNDH-DP58',
            'NNDH-DP59',
            'GJ-1',
            'GJ-2',
            'GJ-3',
            'NNDH-DP60',
            'NNDH-DP61',
        ],
        [
            'H-K-LZ',
            'H4-K-C1',
            'H3-K-C1',
            'H4-K-C2',
            'H3-K-C2',
            'H4-K-P1',
            'H3-K-P1',
            'H-TB-1',
            'H-TB-2',
            'HK-CW-Z',
            'HK-CW-Y',
        ],
        [
            'SK',
            'SZ',
            'LZ',
            'WZ',
            'SZ-TG',
            'LZB',
            'SZB',
            'WZB',
            'YX-LS-1',
            'YX-LS-2',
            'YX-LS-3',
            'YX-LS-4',
            'SCB-1',
            'WCB-TZ2',
            'YX-LS-23',
            'SCB-TZ1',
            'SCB-TZ2',
            'WTJ-6',
            'WTJ-7',
            'SKCW-Z',
            'SKCW-Y',
            'SCB-3',
            'SCB-2',
            'LCB',
            'WCB',
            'YX-LS-5',
            'YX-LS-26',
            'YX-LS-27',
            'YX-LS-28',
            'SKCB-Z',
            'LCB-Z',
            'WCB-Z',
            'SKCB-Y',
            'YX-LS-8',
            'LCB-Y',
            'WCB-Y',
            'W-CK-1',
            'S-CK-1',
            'L-CK-1',
            'W-CK-2',
            'S-CK-2',
            'L-CK-2',
            'W-CK-3',
            'S-CK-3',
            'L-CK-3',
            'S-CK-6',
            'W-CK-4',
            'S2-CK-1',
            'L2-CK-1',
            'W2-CK-1',
            'S2-CK-2',
            'L2-CK-2',
            'W2-CK-2',
            'S2-CK-3',
            'L2-CK-3',
            'W2-CK-3',
            'S2-CK-6',
            'S3-CK-1',
            'S3-CK-2',
            'S3-CK-3',
            'S3-CK-4',
            'W2-CK-4',
            'W3-CK-1',
            'W3-CK-2',
            'W3-CK-3',
            'W3-CK-4',
            'W4-CK-1',
            'W4-CK-2',
            'W4-CK-3',
            'W4-CK-4',
            'W5-CK-1',
            'W5-CK-2',
            'W5-CK-3',
            'W5-CK-4',
            'W6-CK-1',
            'W6-CK-2',
            'W6-CK-3',
            'W6-CK-4',
            'YX-LS-6',
            'YX-LS-7',
            'YX-LS-9',
            'YX-LS-10',
            'YX-LS-11',
            'SD-1',
            'WD-1',
            'LD-1',
            'SD-2',
            'SD-3',
            'WD-2',
            'WD-3',
            'WD-4',
            'WD-5',
            'WD-6',
            'YX-LS-12',
            'LD-2',
            'LZJFG',
            'WZJFG',
            'S-CK-4',
            'S2-CK-4',
            'D-CK-4',
            'D2-CK-4',
            'D3-CK-4',
            'D4-CK-4',
            'D5-CK-4',
            'D6-CK-4',
            'YX-LS-14',
            'S-DG-1',
            'S-DG-2',
            'TZDG-1',
            'TZDG-2',
            'YX-LS-17',
            'YX-LS-18',
            'YX-LS-19',
            'S-CK-5',
            'LJK-1',
            'S2-CK-5',
            'S3-CK-5',
            'S4-CK-5',
            'S5-CK-5',
            'S6-CK-5',
            'YX-LS-15',
            'LJK-2',
            'S-K-1',
            'S-K-1C',
            'S-K-1B',
            'S-K-1A',
            'S2-K-1',
            'S2-K-1C',
            'S2-K-1B',
            'S2-K-1A',
            'S-K-6',
            'S-K-6C',
            'S-K-6B',
            'S-K-6A',
            'S-K-2',
            'S2-K-2',
            'YX-LS-16',
            'S-K-3',
            'S2-K-3',
            'S3-K-3',
            'S4-K-3',
            'S5-K-3',
            'S6-K-3',
            'YX-LS-13',
            'SKT',
            'WK1',
            'WK2',
            'WK3',
            'WK4',
            'DK',
            'ZK',
            'ZYM-DK',
            'ZYM-ZK',
            'HZ-DP',
            'S-K-4',
            'S2-K-4',
            'S3-K-4',
            'S-K-5',
            'L-K-5',
            'S2-K5',
            'L2-K-5',
            'T-ZHDG',
            'W-K-5',
            'W2-K-2',
            'W3-K-2',
            'W4-K-2',
            'W5-K-2',
            'W6-K-2',
            'YX-LS-20',
            'M4-16',
            'TS-1',
            'TS-2',
            'GL',
            'LS-M8',
            'LM-M8',
            'LS-M8-1',
            'CXT-1',
            'CXT-2',
            'CXT-3',
            'WTJ-1',
            'WTJ-2',
            'WTJ-3',
            'WTJ-4',
            'WTJ-5',
            'YX-LS-21',
            'DTJ-7',
            'DTJ-1',
            'DTJ-2',
            'DTJ-3',
            'DTJ-4',
            'DTJ-5',
            'LDTJ-1',
            'LDTJ-2',
            'LDTJ-3',
            'LDTJ-4',
            'LDTJ-5',
            'DTJ-6',
            'DTGGP',
            'XDJ-1',
            'XDJ-2',
            'XDJ-3',
            'XDJ-4',
            'XDJ-5',
            'ZJ-1',
            'ZJ-2',
            'YX-LS-22',
            'HKDG',
            'HZDG',
            'SKDG',
            'SZDG',
            'YX-CB-19',
            'YX-LS-24',
            'DT-1',
            'DT-2',
            'DT-3',
            'DT-7',
            'DT-4',
            'DT-8',
            'DT-9',
            'YX-LS-25',
            'DT-5',
            'DT-6',
            'DT1-1',
            'DT1-2',
            'DT1-3',
            'DT1-4',
            'QDT',
        ],
        [
            'QCJ-1',
            'QCJ-2',
            'QCJ-4',
            'QCJ-6',
            'QCJ-3',
            'QCJ-5-1',
            'QCJ-5',
            'QCJ-7',
            'ZCJ-1',
            'ZCJ-2',
            'ZCJ-3',
            'QCJ-1.5',
            'ZCJ-4',
            'ZCJ-5',
        ],
        [
            'MBJ-1',
            'MBJ-2',
            'MBJ-3',
            'MBJ-4',
            'MBJ-5',
            'MBJ-6',
            'MBJ-7',
            'MBJ-8',
            'MBJ-9',
            'MBJ-10',
            'MBJ-11',
            'MBJ-12',
            'MBJ-13',
            'MBJ-14',
            'MBJ-15',
            'MBJ-16',
            'MBJ-17',
            'MBJ-18',
            'MBJ-19',
            'MBJ-20',
            'MBJ-21',
            'MBJ-22',
            'MBJ-23',
            'MBJ-24',
            'MBJ-25',
            'MBJ-26',
            'MBJ-27',
            'MBJ-28',
            'MBJ-29',
            'MBJ-30',
            'MBJ-31',
            'MBJ-32',
            'MBJ-33',
            'MBJ-34',
            'MBJ-35',
            'MBJ-36',
            'MBJ-37',
            'MBJ-38',
            'MBJ-39',
            'MBJ-40',
            'MBJ-41',
            'MBJ-42',
            'MBJ-43',
            'MBJ-44',
            'MBJ-45',
            'MBJ-46',
            'MBJ-47',
            'MBJ-48',
            'MBJ-49',
            'MBJ-50',
            'MBJ-51',
            'MBJ-52',
            'MBJ-53',
            'MBJ-54',
            'MBJ-55',
            'MBJ-56',
            'MBJ-57',
            'MBJ-58',
            'MBJ-59',
            'MBJ-60',
            'MBJ-61',
            'MBJ-62',
            'MBJ-63',
            'MBJ-64',
            'MBJ-65',
            'MBJ-66',
            'MBJ-67',
            'MBJ-68',
            'MBJ-69',
            'MBJ-70',
            'MBJ-71',
            'MBJ-72',
            'MBJ-73',
            'MBJ-74',
            'MBJ-75',
            'MBJ-76',
            'MBJ-77',
            'MBJ-78',

        ],
        [
            'TWJ-1',
            'TWJ-2',
            'TWJ-3',
            'TWJ-4',
            'TWJ-5',
            'TWJ-6',
            'TWJ-7',
            'TWJ-8',
            'TWJ-9',
            'TWJ-10',
            'TWJ-11',
            'TWJ-12',
            'TWJ-13',
            'TWJ-14',
            'TWJ-15',
            'TWJ-16',
            'TWJ-17',
            'TWJ-18',
            'TWJ-19',
            'TWJ-20',
            'TWJ-21',
            'TWJ-22',
            'TWJ-23',
            'TWJ-24',
            'TWJ-25',
            'TWJ-26',
            'TWJ-27',
            'TWJ-28',
            'TWJ-29',
            'TWJ-30',
            'TWJ-31',
            'TWJ-32',
            'TWJ-33',
            'TWJ-34',
            'TWJ-35',
            'TWJ-36',
            'TWJ-37',
            'TWJ-38',
            'TWJ-39',
            'TWJ-40',
            'TWJ-41',
            'TWJ-42',
            'TWJ-43',
            'TWJ-53',
            'TWJ-54',
            'TWJ-44',
            'TWJ-55',
            'TWJ-56',
            'TWJ-57',
            'TWJ-58',
            'TWJ-59',
            'TWJ-60',
            'TWJ-61',
            'TWJ-62',
            'TWJ-63',
            'TWJ-64',
            'TWJ-65',
            'TWJ-66',
            'TWJ-67',
            'TWJ-68',
            'TWJ-69',
            'TWJ-70',
            'TWJ-45',
            'TWJ-46',
            'TWJ-47',
            'TWJ-48',
            'TWJ-49',
            'TWJ-50',
            'TWJ-51',
            'TWJ-52',
        ],
        [
            'BXJ-1',
            'BXJ-2',
            'BXJ-43',
            'BXJ-3',
            'BXJ-4',
            'BXJ-44',
            'BXJ-45',
            'BXJ-46',
            'BXJ-47',
            'BXJ-5',
            'BXJ-6',
            'BXJ-7',
            'BXJ-8',
            'BXJ-9',
            'BXJ-10',
            'BXJ-11',
            'BXJ-12',
            'BXJ-13',
            'BXJ-14',
            'BXJ-15',
            'BXJ-16',
            'BXJ-17',
            'NNDH-DP20',
            'BXJ-18',
            'BXJ-19',
            'BXJ-20',
            'BXJ-21',
            'BXJ-22',
            'BXJ-23',
            'BXJ-24',
            'BXJ-25',
            'BXJ-26',
            'BXJ-27',
            'BXJ-28',
            'BXJ-29',
            'BXJ-30',
            'BXJ-31',
            'BXJ-32',
            'BXJ-33',
            'BXJ-34',
            'BXJ-35',
            'BXJ-36',
            'BXJ-37',
            'BXJ-38',
            'BXJ-39',
            'BXJ-40',
            'BXJ-41',
            'BXJ-42',
            'BXJ-50',
            'BXJ-51',
            'BXJ-48',
            'BXJ-49',
            'BXJ-1-T',
            'BXJ-2-T',
            'BXJ-3-T',
            'BXJ-4-T',
            'BXJ-5-T',
            'BXJ-6-T',
            'BXJ-7-T',
            'BXJ-52',
        ],
        [
            'YX-QT-1',
            'YX-QT-2',
            'YX-QT-3',
            'YX-QT-4',
            'YX-QT-5',
            'YX-QT-6',
            'YX-QT-7',
            'YX-QT-8',
            'YX-QT-9',
            'YX-QT-10',
            'YX-QT-11',
        ],
        [
            'YX-SY-1',
            'YX-SY-2',
            'YX-SY-3',
            'YX-SY-4',
            'YX-SY-5',
            'YX-SY-6',
            'YX-SY-7',
            'YX-SY-8',
            'YX-SY-9',
            'YX-SY-10',
            'YX-SY-11',
            'YX-SY-12',
            'YX-SY-13',
            'YX-SY-14',
            'YX-SY-15',
            'YX-SY-16',
            'YX-SY-17',
            'YX-SY-18',
            'YX-SY-19',
            'YX-SY-20',
            'YX-SY-21',
            'YX-SY-22',
            'YX-SY-23',
            'YX-SY-24',
            'YX-SY-25',
            'YX-SY-26',
            'YX-SY-27',
            'YX-SY-28',
            'YX-SY-29',
            'YX-SY-30',
            'YX-SY-31',
            'YX-SY-32',
            'YX-SY-33',
            'YX-SY-34',
            'YX-SY-35',
            'YX-SY-36',
            'YX-SY-37',
            'YX-SY-38',
            'YX-SY-39',
            'YX-SY-40',
            'YX-SY-41',
            'YX-SY-42',
            'YX-SY-43',
            'YX-SY-44',
            'YX-SY-45',
            'YX-SY-46',
            'YX-SY-47',
            'YX-SY-48',
            'YX-SY-49',
            'YX-SY-50',
            'YX-SY-51',
            'YX-SY-52',
            'YX-SY-53',
            'YX-SY-54',
            'YX-SY-55',
            'YX-SY-56',
            'YX-SY-57',
            'YX-SY-58',
            'YX-SY-59',
            'YX-SY-60',
            'YX-SY-61',
            'YX-SY-62',
            'YX-SY-63',
            'YX-SY-64',
            'YX-SY-65',
            'YX-SY-66',
            'YX-SY-67',
            'YX-SY-68',
            'YX-SY-69',
        ],
        [
            'LS-HNH-1',
            'LS-HNH-2',
            'LS-HNH-3',
            'LS-HNH-4',
        ]
    ]
    const productColumns2 = {};
    [
        '全钢黄白靠墙货架含底7层，中岛含底5层（底板400层板375、330）',
        '靠墙卡柱子层板货架',
        '六代零食架明细表',
        '仓储架400*1200*2000（含底3层）',
        '面包架款',
        '糖玩架/糖果架款',
        '冰箱架款式',
        '零食优选其他货架',
        '零食优选收银台背柜',
        '零食很能嗨单件明细',
    ].forEach((e, i) => (productColumns2[e] = codes[i]))
    const productColumns = productColumns2

    let productMap = {}
    Object.keys(productColumns).forEach((k) => {
        productColumns[k].forEach((e) => {
            productMap[e] = k
        })
    })
    let productMap2 = {}
    Object.keys(productColumns2).forEach((k) => {
        productColumns2[k].forEach((e) => {
            productMap2[e] = k
        })
    })
    window.g_config = {
        productColumns,
        productColumns2,
        productMap,
        productMap2,
        productSort: Object.values(productColumns).reduce(
            (a, b) => a.concat(b),
            []
        ),
        productSort2: Object.values(productColumns2).reduce(
            (a, b) => a.concat(b),
            []
        ),
    }
</script>
</body>
</html>
